<ui:fragment  
    xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:ui="http://java.sun.com/jsf/facelets"  
    xmlns:p="http://primefaces.org/ui"> 
	<h:form>
		<p:panel id="panelConclusaoConserto" style="width: 700;">
			<p:messages id="messages" showDetail="false"  autoUpdate="true" closable="true" rendered="true"/>
			<h:panelGrid columns="2" cellpadding="2" id="pnDadosConclusaoConserto" border="0"  >
				<h:outputText value="Conserto nº:" /> 
				<h:inputText id="txtNumeroConserto" readonly="true" size="5" value="#{consertoManagedBean.conserto.idConserto}"/> 
				<h:outputText value="Cliente:" /> 
				<h:inputText id="txtCliente" readonly="true" size="40" value="#{consertoManagedBean.conserto.cliente.nome}"/> 
				<h:outputText value="Observações:" /> 
				<h:inputTextarea id="txtObservacoes" size="80" cols="80" rows="10" value="#{consertoManagedBean.conserto.observacoes}"/> 
				
			</h:panelGrid>
			<br/>
			<h:panelGrid columns="2" cellpadding="2" id="pnBotoesConclusaoConserto">
				<p:commandButton id="btConcluiConserto" value="Concluir conserto" actionListener="#{consertoManagedBean.concluirConserto}" update=":formPesquisaConsertos:dataTableResultado"/>
				<p:commandButton id="btCancelar" value="Cancelar" onclick="dlgConclusaoConserto.hide()"/>
			</h:panelGrid>
		</p:panel>
	</h:form>
</ui:fragment>
